package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TCCOutPAMapper;
import com.baox.agridata.synchronous.entity.shanxi.TCCOutPAEntity;
import com.baox.agridata.synchronous.service.shanxi.TCCOutPAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCOutPAServiceImpl implements TCCOutPAService {

    @Autowired
    private TCCOutPAMapper tccOutPAMapper;


    @Override
    public Integer selectOutPAIsExistById(String mid) {
        return tccOutPAMapper.selectOutPAIsExistById(mid);
    }

    @Override
    public TCCOutPAEntity selectTCCOutPaByMidOrUUID(String mid) {
        return tccOutPAMapper.selectTCCOutPaByMidOrUUID(mid);
    }

    @Override
    public Integer updateTccOutPAStatus(String Status, String lastUpdate, String mid) {
        return tccOutPAMapper.updateTccOutPAStatus(Status, lastUpdate, mid);
    }

    @Override
    public Integer batchInsertTCCOutPA(List<TCCOutPAEntity> list) {
        return tccOutPAMapper.batchInsertTCCOutPA(list);
    }
}
